package com.ruoyi.eqmonitor.smdtv.service.impl;

import java.util.List;
import java.util.stream.Collectors;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.eqmonitor.smdtv.domain.SmdtvSewage;
import com.ruoyi.eqmonitor.smdtv.mapper.SmdtvSewageMapper;
import com.ruoyi.eqmonitor.smdtv.service.ISmdtvSewageService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * 污水问题Service业务层处理
 * 
 * @author ruoyi
 * @date 2023-02-15
 */
@Service
public class SmdtvSewageServiceImpl extends ServiceImpl<SmdtvSewageMapper,SmdtvSewage> implements ISmdtvSewageService {
    
    @Autowired
    private SmdtvSewageMapper smdtvSewageMapper;

    @Override
    public SmdtvSewage selectSmdtvSewageById(Long id){
        return smdtvSewageMapper.selectSmdtvSewageById(id);
    }
      
    @Override
    public List<SmdtvSewage> selectSmdtvSewageList(SmdtvSewage smdtvSewage){
        return smdtvSewageMapper.selectSmdtvSewageList(smdtvSewage);
    }
}
